#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "QPushButton"
#include "QTextEdit"
#include "QScrollArea"
#include "QLabel"
#include "QFont"
#include "QList"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    int labely=70;
    int forcenum=0;
    QFont f;
    QLabel *forcelabel;
    QTextEdit *force;
    QTextEdit *forceangle;
    QList<QLabel*> forcelabellist;
    QList<QLabel*> pilabellist;
    QList<QTextEdit*> forcelist;
    QList<QTextEdit*> anglelist;
private slots:
    void add_clicked();
    void calforce();
    void del_clicked();
private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
